﻿using System.Collections.Generic;
using System.Linq;

namespace LVYAN.Utils
{
    public enum WinProcessType
    {
        WeChat,
        WorkWeChat
    }
    public class WinProcessPathType
    {
        public WinProcessType Type { get; set; }
        public bool Enable { get; set; }
        public List<string> List { get; set; }

        public WinProcessPathType GetConfigModel()
        {
            return JsonToModelService.GetModelByPath<List<WinProcessPathType>>($"Config/WechatPath.json").FirstOrDefault(t => t.Enable);

        }

    }


}
